<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>上传图片展示区</title>
</head>
<body>
选择图片：
<form enctype="multipart/form-data" method="post" action="book/doUpload">
    <input type="file" name="file"/>
    <input type="submit" value="上传">
</form>
<span th:text="${error}"></span>
</body>
</html>
